{% extends 'account/base.html' %}
{% block title %}Login{% endblock %}
{% block app %}
<div class="login view">
  <div class="row justify-content-center">
        <div class="col-lg-6 col-md-8 col-sm-10">
            <div class="card">
                <div class="card-body">
                    <h2 class="card-title text-center">Login</h2>
                    <form method="POST" action="{% url 'login' %}"novalidate>
                        {% csrf_token %}
                        <input type="hidden" name="next" value="{{ next }}">
                        {% include 'form.html' %}
                        <button type="submit" class="btn btn-primary">Entrar</button>
                    </form>
                </div>
                 <div class="card-footer text-muted text-center">
                  ¿No estás registrado? <a href="{% url 'signin' %}">Registro</a>
                </div>
                <div class="text-center py-2">
                <small>
                  <a href="{% url 'password_reset'%}" class="text-muted">¿Olvidaste la contraseña?</a>
                </small>
              </div>
            </div>
        </div>
  </div>
</div>

{% endblock %}